
<!DOCTYPE HTML>
<html lang="" >
    <head>
        <meta charset="UTF-8">
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <title>1.2安装 · GitBook</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="description" content="">
        <meta name="generator" content="GitBook 3.2.3">
        
        
        
    
    <link rel="stylesheet" href="../gitbook/style.css">

    
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-highlight/website.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-search/search.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-fontsettings/website.css">
                
            
        

    

    
        
    
        
    
        
    
        
    
        
    
        
    

        
    
    
    <meta name="HandheldFriendly" content="true"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="apple-touch-icon-precomposed" sizes="152x152" href="../gitbook/images/apple-touch-icon-precomposed-152.png">
    <link rel="shortcut icon" href="../gitbook/images/favicon.ico" type="image/x-icon">

    
    <link rel="next" href="3.使用.html" />
    
    
    <link rel="prev" href="1.简介.html" />
    

    </head>
    <body>
        
<div class="book">
    <div class="book-summary">
        
            
<div id="book-search-input" role="search">
    <input type="text" placeholder="Type to search" />
</div>

            
                <nav role="navigation">
                


<ul class="summary">
    
    

    

    
        
        
    
        <li class="chapter " data-level="1.1" data-path="../">
            
                <a href="../">
            
                    
                    Introduction
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2" data-path="../1gitbookan-zhuang-yu-shi-yong.html">
            
                <a href="../1gitbookan-zhuang-yu-shi-yong.html">
            
                    
                    1.gitbook安装与使用
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.2.1" data-path="1.简介.html">
            
                <a href="1.简介.html">
            
                    
                    1.1简介
            
                </a>
            

            
        </li>
    
        <li class="chapter active" data-level="1.2.2" data-path="2.安装.html">
            
                <a href="2.安装.html">
            
                    
                    1.2安装
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.3" data-path="3.使用.html">
            
                <a href="3.使用.html">
            
                    
                    1.3使用
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.4" data-path="4.gitbook常用命令.html">
            
                <a href="4.gitbook常用命令.html">
            
                    
                    1.4gitbook常用命令
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.3" data-path="../2gitbookchang-yong-zhu-ti.html">
            
                <a href="../2gitbookchang-yong-zhu-ti.html">
            
                    
                    2.gitbook常用主题
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4" data-path="../3pagefu-wu-ji-cheng.html">
            
                <a href="../3pagefu-wu-ji-cheng.html">
            
                    
                    3.page服务集成
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.4.1" data-path="../page服务集成/1.集成前预处理.html">
            
                <a href="../page服务集成/1.集成前预处理.html">
            
                    
                    3.1集成前预处理
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.2" data-path="../page服务集成/2.giteepages.html">
            
                <a href="../page服务集成/2.giteepages.html">
            
                    
                    3.2gitee pages
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.3" data-path="../page服务集成/3.githubpages.html">
            
                <a href="../page服务集成/3.githubpages.html">
            
                    
                    3.3githup pages
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.5" data-path="../4gitbookdao-chu.html">
            
                <a href="../4gitbookdao-chu.html">
            
                    
                    4.gitbook导出
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.5.1" data-path="../gitbook导出/1.导出成pdf.html">
            
                <a href="../gitbook导出/1.导出成pdf.html">
            
                    
                    4.1导出成PDF
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.2" data-path="../gitbook导出/2.导出成epub.html">
            
                <a href="../gitbook导出/2.导出成epub.html">
            
                    
                    4.2导出成epub
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.6" data-path="../5shi-yong-gitbook-editor-bian-ji-gitbook.html">
            
                <a href="../5shi-yong-gitbook-editor-bian-ji-gitbook.html">
            
                    
                    5.使用gitbook editor编辑gitbook
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7" data-path="../参考地址.html">
            
                <a href="../参考地址.html">
            
                    
                    参考地址
            
                </a>
            

            
        </li>
    

    

    <li class="divider"></li>

    <li>
        <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
            Published with GitBook
        </a>
    </li>
</ul>


                </nav>
            
        
    </div>

    <div class="book-body">
        
            <div class="body-inner">
                
                    

<div class="book-header" role="navigation">
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href=".." >1.2安装</a>
    </h1>
</div>




                    <div class="page-wrapper" tabindex="-1" role="main">
                        <div class="page-inner">
                            
<div id="book-search-results">
    <div class="search-noresults">
    
                                <section class="normal markdown-section">
                                
                                <h1 id="12&#x5B89;&#x88C5;">1.2&#x5B89;&#x88C5;</h1>
<h2 id="121&#x5148;&#x5B89;&#x88C5;nodejs">1.2.1&#x5148;&#x5B89;&#x88C5;node.js</h2>
<ul>
<li>&#x5B89;&#x88C5;&#x5730;&#x5740;</li>
</ul>
<p><a href="https://nodejs.org/zh-cn/download/" target="_blank">1.&#x5B98;&#x65B9;&#x4E0B;&#x8F7D;&#x5730;&#x5740;</a></p>
<p>node.js&#x7684;&#x5B89;&#x88C5;&#x6BD4;&#x8F83;&#x7B80;&#x5355;&#xFF0C;windows&#x73AF;&#x5883;&#x4E0B;&#xFF0C;&#x76F4;&#x63A5;&#x4F7F;&#x7528;.msi&#x4E0B;&#x8F7D;&#x5305;&#x53EF;&#x89C6;&#x5316;&#x5B89;&#x88C5;&#x5373;&#x53EF;&#x3002;&#x7F51;&#x4E0A;&#x7684;&#x5B89;&#x88C5;&#x6559;&#x7A0B;&#x4E5F;&#x591A;&#x3002;</p>
<ul>
<li>&#x9A8C;&#x8BC1;&#x5B89;&#x88C5;</li>
</ul>
<p>&#x5B89;&#x88C5;&#x597D;&#x4E86;&#x4EE5;&#x540E;&#xFF0C;&#x6253;&#x5F00;&#x547D;&#x4EE4;&#x884C;&#xFF0C;&#x5982;&#x4E0B;:</p>
<p><img src="&#x56FE;1_&#x5B89;&#x88C5;/i1.png" alt="&#x56FE;"></p>
<p>&#x5373;&#x8868;&#x793A;&#x5B89;&#x88C5;&#x6210;&#x529F;&#xFF01;</p>
<ul>
<li>&#x914D;&#x7F6E;&#x955C;&#x50CF;&#x5730;&#x5740;</li>
</ul>
<p>&#x56E0;&#x4E3A;&#x9ED8;&#x8BA4;&#x7684;&#x955C;&#x50CF;&#x5730;&#x5740;&#x5728;&#x56FD;&#x5916;&#xFF0C;&#x6240;&#x6709;&#x7F51;&#x901F;&#x4E0D;&#x884C;&#x7684;&#x8BDD;&#xFF0C;&#x53EF;&#x4EE5;&#x5C06;&#x5730;&#x5740;&#x6539;&#x4E3A;&#x56FD;&#x5185;&#x7684;&#x955C;&#x50CF;&#x5730;&#x5740;&#xFF0C;&#x76EE;&#x524D;&#x7F51;&#x4E0A;&#x63A8;&#x8350;&#x6BD4;&#x8F83;&#x591A;&#x7684;&#x662F;&#x6DD8;&#x5B9D;&#x7684;&#x955C;&#x50CF;&#x5730;&#x5740;&#x3002;&#x6267;&#x884C;&#x5982;&#x4E0B;&#x547D;&#x4EE4;&#xFF1A;</p>
<pre><code class="lang-npm">npm config set registry http://registry.npm.taobao.org
</code></pre>
<p>&#x6216;&#x8005;&#x5728;&#x7528;&#x6237;&#x7684;&#x4E3B;&#x76EE;&#x5F55;&#xFF08;&#x5982;&#xFF1A; C:\Users\Administrator&#xFF09;&#x4E0B;&#x627E;&#x5230; .npmrc &#x6587;&#x4EF6;&#xFF0C;&#x5728;&#x5176;&#x4E2D;&#x6DFB;&#x52A0;<code>registry=http://registry.npm.taobao.org</code>&#x5373;&#x53EF;&#x3002;</p>
<h2 id="122&#x5B89;&#x88C5;gitbook">1.2.2&#x5B89;&#x88C5;gitbook</h2>
<p>&#x6253;&#x5F00;cmd&#x547D;&#x4EE4;&#x884C;&#xFF0C;&#x6267;&#x884C;&#x5982;&#x4E0B;&#x547D;&#x4EE4;:</p>
<pre><code class="lang-npm">npm install -g gitbook-cli
</code></pre>
<p>&#x9700;&#x8981;&#x8010;&#x5FC3;&#x7A0D;&#x7B49;&#x4F1A;&#xFF0C;&#x7B49;&#x5B89;&#x88C5;&#x5B8C;&#x6210;&#x540E;&#xFF0C;&#x5C31;&#x4F1A;&#x591A;&#x4E00;&#x4E2A;gitbook&#x547D;&#x4EE4;&#xFF0C;&#x5B89;&#x88C5;&#x5230;&#x6B64;&#x5B8C;&#x6210;&#x3002;</p>

                                
                                </section>
                            
    </div>
    <div class="search-results">
        <div class="has-results">
            
            <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
            <ul class="search-results-list"></ul>
            
        </div>
        <div class="no-results">
            
            <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
            
        </div>
    </div>
</div>

                        </div>
                    </div>
                
            </div>

            
                
                <a href="1.简介.html" class="navigation navigation-prev " aria-label="Previous page: 1.1简介">
                    <i class="fa fa-angle-left"></i>
                </a>
                
                
                <a href="3.使用.html" class="navigation navigation-next " aria-label="Next page: 1.3使用">
                    <i class="fa fa-angle-right"></i>
                </a>
                
            
        
    </div>

    <script>
        var gitbook = gitbook || [];
        gitbook.push(function() {
            gitbook.page.hasChanged({"page":{"title":"1.2安装","level":"1.2.2","depth":2,"next":{"title":"1.3使用","level":"1.2.3","depth":2,"path":"gitbook安装与使用/3.使用.md","ref":"gitbook安装与使用/3.使用.md","articles":[]},"previous":{"title":"1.1简介","level":"1.2.1","depth":2,"path":"gitbook安装与使用/1.简介.md","ref":"gitbook安装与使用/1.简介.md","articles":[]},"dir":"ltr"},"config":{"gitbook":"*","theme":"default","variables":{},"plugins":[],"pluginsConfig":{"highlight":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"}},"file":{"path":"gitbook安装与使用/2.安装.md","mtime":"2020-05-16T03:15:27.869Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2020-05-16T06:46:15.328Z"},"basePath":"..","book":{"language":""}});
        });
    </script>
</div>

        
    <script src="../gitbook/gitbook.js"></script>
    <script src="../gitbook/theme.js"></script>
    
        
        <script src="../gitbook/gitbook-plugin-search/search-engine.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-search/search.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-lunr/lunr.min.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-lunr/search-lunr.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-sharing/buttons.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
        
    

    </body>
</html>

